package com.threadDemo;

public class T2 {


    public static void main(String[] args) {

        Runner2 r2 = new Runner2();

      //  r2.start();


        Runner r1 = new Runner();
        Thread t1 = new Thread(r1);



        try {

            Thread.sleep(100);
            t1.start();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        // t1.run();


//        for(int i = 0;i<=10;i++){
//
//            System.out.println("main:"+i);
//        }
    }
}
